import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'home',
      component: ()=>import('./views/Home.vue')
    },
    {
      path: '/allqr',
      name: 'allqr',
      component: () => import('./views/Allqr.vue')
    },
    {
      path:'*',
      name:'notFound',
      component:()=>import('./views/notFound.vue')
    }
  ]
})
